package com.axun.ckz.yytmanager.base;

import android.content.Context;

import com.axun.ckz.yytmanager.util.UserShare;


/**
 * Created by ckz on 2018/4/23.
 */

public class IBaseXm implements IBaseModule {

    private Context context;

    public IBaseXm(Context context) {
        this.context = context;
    }


    @Override
    public void saveUserInfo(String userId,String name,int accountId,String sessionId) {
        UserShare.getInstance(context).saveUser(userId,name,accountId,sessionId);
    }

    @Override
    public void clearUserInfo() {
        UserShare.getInstance(context).clearUser();
    }
}
